package com.example.qxfw.ybzz.service.impl;

import com.example.qxfw.common.entity.PublishRecord;
import com.example.qxfw.common.entity.qx.Weather;
import com.example.qxfw.ybzz.mapper.WeatherMapper;
import com.example.qxfw.ybzz.service.WeatherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WeatherServiceImpl implements WeatherService {

    @Autowired
    private WeatherMapper weatherMapper;

    @Override
    public List<Weather> getWeather() {
        return weatherMapper.selectWeather();
    }

    @Override
    public List<Weather> getWind() {
        return weatherMapper.selectWind();
    }

    @Override
    public List<Weather> getWindd() {
        return weatherMapper.selectWindd();
    }


    }



